/*
 * GameScreen.h
 *
 *  Created on: 27 mars 2013
 *      Author: Aurel
 */

#ifndef GAMESCREEN_H_
#define GAMESCREEN_H_

#include <SFML/Network.hpp>

#include "util/Debug.hpp"

#include "display/GameInfo.hpp"

#include "display/Displayable.hpp"

#include "display/ThreadDisplay.hpp"
#include "display/MainScreen.hpp"
#include "display/game/GameGraphic.hpp"

class GameScreen: public Displayable {
public:
	GameScreen					(ThreadDisplay *);
	virtual ~GameScreen			();

	virtual void draw			(sf::RenderWindow*);
	virtual void DoEvent		(sf::Event);
	virtual void DoRealTimeEvent(const sf::Input&);

private:
	sf::String 	m_labelPlayerName;
	sf::String 	m_labelIP;
	sf::String 	m_PlayerName;
	sf::String 	m_IP;
	sf::String 	m_labelEnter;
	sf::String 	m_cursor;
	int 		m_FocusRow;

	void AddCharacterOnSelectedRow		(char);
	void RemoveCharacterOnSelectedRow	();
	void BackToMainScreen				();
	void LaunchGame						();
};

#endif /* GAMESCREEN_H_ */
